#include <metahook.h>
#include "GameUI.h"

cl_enginefunc_t gEngfuncs;

int Initialize(struct cl_enginefuncs_s *pEnginefuncs, int iVersion)
{
	memcpy(&gEngfuncs, pEnginefuncs, sizeof(gEngfuncs));
	gExportfuncs.Initialize(pEnginefuncs, iVersion);

	GameUI_InstallHook();
	
	return 1;
}

void HUD_Frame(double time)
{
	gExportfuncs.HUD_Frame(time);
}